import request from "@/utils/request";
import type { Data } from './interface/usersApi';
import type { Datum } from "./interface/vipInfoApi";
// 获取用户信息
const getUsersApi = () => {
  return request.get<null,Data>("userCenter/users/me");
};
// 获取会员套餐信息
const getVipInfoApi = () => {
  return request.get<null, Datum[]>(
    "setup/setups/search/findByGroupType?groupType=vip_product"
  );
}
export { getUsersApi, getVipInfoApi };
